﻿namespace Basic.FormRemoteModel.QueryInter.Model
{
    public class FormVal
    {
        public string StrVal { get; set; }

        public decimal? NumVal { get; set; }

        public long? LongVal { get; set; }

        public bool? BoolVal { get; set; }

        /// <summary>
        /// 是否选项
        /// </summary>
        public DataFuncType FuncType { get; set; }

        public string DirKey { get; set; }

        public FormListItem ListItem { get; set; }

        public FormRecordDataType DataType { get; set; }

        public string[] Vals { get; set; }

        public bool IsNull { get; set; }

        public string ActivateText { get; set; }

        public string InactiveText { get; set; }

        public int? NumStep { get; set; }
        public Dictionary<string, string> Items
        {
            get;
            set;
        }
        public long? DicId { get; set; }
    }

    public class FormListItem
    {
        public int Len { get; set; }
        public FormRecordDataType DataType { get; set; }

        public string[] StrVal { get; set; }

        public decimal?[] NumVal { get; set; }

        public long?[] LongVal { get; set; }

        public bool?[] BoolVal { get; set; }

        public string[][] Vals { get; set; }
    }
}
